package cn.csc.module.distribute.api.downline.dto;

import cn.csc.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;

@Data
public class DistributeDownlineDTO extends BaseDO {

    @ApiModelProperty(value = "主键ID")
    private BigInteger id;

    @ApiModelProperty(value = "上级分销人ID")
    private BigInteger parentId;

    @ApiModelProperty(value = "下级用户ID")
    private BigInteger childId;

    @ApiModelProperty(value = "分佣层级（1-一级，2-二级, 3-三级）")
    private Byte level;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "订单数")
    private Integer orderCount;

    @ApiModelProperty(value = "订单总金额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "产生佣金总额")
    private BigDecimal commissionTotal;
}
